﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace PhotoBackupWS
{
    //[Serializable()]
    public class testExceptionPhotoBackupWS : System.Web.Services.Protocols.SoapException
    {
        public testExceptionPhotoBackupWS() { }
        public testExceptionPhotoBackupWS(string message) { }
        public testExceptionPhotoBackupWS(string message, System.Exception inner) { }

        private int errorCode;
        public int ErrorCode
        {
            get { return errorCode; }
            set { errorCode = value; }
        }

        
    }

    public class ObjSession
    {
        private string sessionID;
        public string SessionID
        {
            get { return sessionID; }
            set { sessionID = value; }
        }
        
        private byte[] keyBytes;
        public byte[] KeyBytes
        {
            get { return keyBytes; }
            set { keyBytes = value; }
        }
    }

    public class ObjWSSession 
    {
      

        private byte[] keyBytes;
        public byte[] KeyBytes
        {
            get { return keyBytes; }
            set { keyBytes = value; }
        }

        private string dbType;
        public string DbType
        {
            get { return dbType; }
            set { dbType = value; }
        }

        private string dbHost;
        public string DbHost
        {
            get { return dbHost; }
            set { dbHost = value; }
        }

        private string dbUser;
        public string DbUser
        {
            get { return dbUser; }
            set { dbUser = value; }
        }

        private string dbPassword;
        public string DbPassword
        {
            get { return dbPassword; }
            set { dbPassword = value; }
        }

        private string dbName;
        public string DbName
        {
            get { return dbName; }
            set { dbName = value; }
        }

    }

    public class ObjWSUser
    {


        private string password;
        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        private string dbType;
        public string DbType
        {
            get { return dbType; }
            set { dbType = value; }
        }

        private string dbHost;
        public string DbHost
        {
            get { return dbHost; }
            set { dbHost = value; }
        }

        private string dbUser;
        public string DbUser
        {
            get { return dbUser; }
            set { dbUser = value; }
        }

        private string dbPassword;
        public string DbPassword
        {
            get { return dbPassword; }
            set { dbPassword = value; }
        }

        private string dbName;
        public string DbName
        {
            get { return dbName; }
            set { dbName = value; }
        }

    }

    public class ObjData
    {
        private ObjContent[] contentObj;
        public ObjContent[] ContentObj
        {
            get { return contentObj; }
            set { contentObj = value; }
        }

        private string eName;
        public string EName
        {
            get { return eName; }
            set { eName = value; }
        }

        private byte[] eData;
        public byte[] EData
        {
            get { return eData; }
            set { eData = value; }
        }

        private string eFileSize;
        public string EFileSize
        {
            get { return eFileSize; }
            set { eFileSize = value; }
        }
    }

    public class ObjContent 
    {
        private string eId;
        public string EId
        {
            get { return eId; }
            set { eId = value; }
        }

        private string eType;
        public string EType
        {
            get { return eType; }
            set { eType = value; }
        }

        private string eName;
        public string EName
        {
            get { return eName; }
            set { eName = value; }
        }
    }

  

}
